package com.gaobug.auth.controller;

import com.gaobug.base.annotation.BindUser;
import com.gaobug.base.response.ResponseWrapped;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 用户接口
 *
 * @author gaobug
 */
@Slf4j
@RestController
@RequestMapping("/auth/cs/user")
public class UserController {

    /**
     * 鉴权
     */
    @BindUser
    @GetMapping("/homepage/info")
    public ResponseWrapped<Object> homepage() {
//        return ResponseWrapped.success(authService.authorization());
        return null;
    }

}
